package com.cxs.musicplaywidget.service.idl;

import com.cxs.musicplaywidget.data.EventParam;
import com.cxs.musicplaywidget.data.PlayerControl;
import com.cxs.musicplaywidget.player.IMusicPlayer;
import com.cxs.musicplaywidget.player.data.MusicInfo;
import com.cxs.musicplaywidget.player.player.MusicPlayer;
import com.cxs.musicplaywidget.util.LogUtils;
import ohos.app.Context;
import ohos.rpc.IRemoteBroker;
import ohos.rpc.IRemoteObject;
import ohos.rpc.RemoteObject;

public abstract class AbsRemoteObject extends RemoteObject implements IRemoteBroker {
    protected Context context;
    protected IRemoteObject remoteObject;

    public AbsRemoteObject(Context context) {
        super("");
        this.context = context;
    }

    public AbsRemoteObject(Context context, IRemoteObject remoteObject) {
        super("");
        this.context = context;
        this.remoteObject = remoteObject;
    }

    @Override
    public IRemoteObject asObject() {
        return remoteObject;
    }

}
